//
//  WYXDecorator.m
//  DecoratorPattern
//
//  Created by 颖 on 2016/12/20.
//  Copyright © 2016年 ying. All rights reserved.
//

#import "WYXDecorator.h"

@implementation WYXDecorator

- (instancetype)initWithBeverage:(WYXBeverage *)beverage{
    self = [super init];
    if (self) {
        // 接收 被装饰者 或者 上一个装饰者
        self.beverage = beverage;
    }
    return self;
}

@end
